//
//  VideoReturnJson.swift
//  amicool
//
//  Created by mario-yc on 2017/6/14.
//  Copyright © 2017年 mario-yc. All rights reserved.
//

import Foundation

class VideoReturnJson: NSObject {
    var name:String?
    var thumb:String?
    var desc:String?
    var videopath:String?
    var kcmc:String?
    var author:String?
    var updata_time:String?
    class func VideoReturnJsonWithDict(_ dict:NSDictionary?)->VideoReturnJson?{
        if dict == nil{
            return nil
        }
        let model:VideoReturnJson? = VideoReturnJson()
        if model != nil {
            model?.name = dict!["name"] as? String
            model?.thumb = dict!["thumb"] as? String
            model?.desc = dict!["desc"] as? String
            model?.videopath  = dict!["videopath"] as? String
            model?.author = dict!["author"] as? String
            model?.updata_time  = dict!["updata_time"] as? String
            
        }
        
        
        return model
        
    }
}
